import {api} from 'src/boot/axios'


export function getUserLoginQrcode(){
  return api({
    url: '/rooms/wechat_user_login_qrcode/',
    method: 'POST',
  })
}

export function getVideoUserInfo(params){
  return api({
    url: '/rooms/wechat_user_login_info',
    method: 'GET',
    params
  })
}

export function recodeVideoUser(data){
  return api({
    url: '/rooms/record_video_user/',
    method: 'POST',
    data
  })
}

// 视频会议室开始---------------------------
export function getRooms(params) {
  return api({
    url: '/rooms/room_list/',
    method: 'GET',
    params
  })
}

export function getRoomByID(params) {
  return api({
    url: `/rooms/video_room/${params.room_id}`,
    method: 'GET',
  })
}

